stick in (someone's) head

Translations
запомниться (кому-то)
The melody stuck in my head all day.
Мелодия запомнилась мне на весь день.
Definitions
To remain in someone's memory or thoughts for a long time, often because it is particularly striking, memorable, or difficult to forget.